package com.ht.feign;


import com.ht.data.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "ht-knowledge-service")
public interface PublicOutpatientFeign {
    //查询所有科室
    @PostMapping("/department/findDepartmentAll")
    public Result findDepartmentAll();

    @PostMapping("/knowledge/findListByCategoryId/{categoryId}")
    public Result findListByCategoryId(@PathVariable("categoryId")Long categoryId);


}
